#ifndef __NAMESTORAGE__

#define __NAMESTORAGE__

#include<string>
#include<vector>
using namespace std;

class NameStorage {
	
	public:
		
	vector<string> storage;	
		
	NameStorage();
	NameStorage(NameStorage const &);
	~NameStorage();
	
	string const & operator[](int) const;
	string & operator[](int);
	
	int findName(string const &) const;
	int addName(string const &);
	int addOrRename(string const &);
	
};	

#endif
